package cn.sharesdk.demo.util;

import cn.sharesdk.framework.Platform;
import android.util.Log;

/**
 * 广告活动
 * @author huangrongcai
 *
 */
public class Ad {
private static final String TAG = "Ad";
private String text = "广告宣传语";
private int id = 1;
	
	public void send(Platform plat){
		
		String userId = plat.getDb().getUserId();
		Log.d(TAG, userId);
		String PlatformNname = plat.getDb().getPlatformNname();
		Log.d(TAG, PlatformNname);
		String UserName = plat.getDb().getUserName();
		Log.d(TAG, UserName);
		String Token = plat.getDb().getToken();
		Log.d(TAG, Token);
		String TokenSecret = plat.getDb().getTokenSecret();
		Log.d(TAG, TokenSecret);
		String isValid = plat.getDb().isValid()?"true":"false";
		Log.d(TAG, isValid);
	}
}
